package com.bing.habit.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bing.habit.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserDAO extends BaseMapper<User> {
    User findByOpenid(@Param("openid") String openid);
}
